﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package net.wooga.pets.models.vo {
    import flash.geom.*;

    public class LetterVO {

        private var _id:String;
        private var _isRead:Boolean;
        private var _position:Point;
        private var _roomToBuild:String;
        private var _variant:String;

        public function LetterVO(_arg1:String, _arg2:Point, _arg3:String="LETTER_POPUP_LAYOUT_A", _arg4:String=null){
            this._id = _arg1;
            this._position = _arg2;
            this._roomToBuild = _arg4;
            this._variant = _arg3;
        }
        public function get id():String{
            return (this._id);
        }
        public function set id(_arg1:String):void{
            this._id = _arg1;
        }
        public function get number():int{
            return (int(this._id.substring(1)));
        }
        public function get isRead():Boolean{
            return (this._isRead);
        }
        public function set isRead(_arg1:Boolean):void{
            this._isRead = _arg1;
        }
        public function get position():Point{
            return (this._position);
        }
        public function get isBuildRoomLetter():Boolean{
            return (!((this._roomToBuild == null)));
        }
        public function get roomTypeToBuild():String{
            return (this._roomToBuild);
        }
        public function get variant():String{
            return (this._variant);
        }

    }
}//package net.wooga.pets.models.vo 
